package com.tianqu.tms.dao;

import java.util.List;

import com.tianqu.tms.core.exception.TmsDaoException;
import com.tianqu.tms.dto.AucBidTypeDto;

public interface AucBidTypeDao {

	public abstract AucBidTypeDto getAucBidType(int bidType) throws TmsDaoException;
	
	@SuppressWarnings("unchecked")
	public List loadAucBidType() throws TmsDaoException;
	
	public void insertAucBidType(AucBidTypeDto dto) throws TmsDaoException;
	
	public boolean typeNameOnly(int bidType)throws TmsDaoException;
	
	public AucBidTypeDto getAucBidTypeById(long id)throws TmsDaoException;
	
	public void updateAucBidType(AucBidTypeDto dto) throws TmsDaoException;
	
	public void deleteAucBidType(long id)throws TmsDaoException;
}